DioDocs for PDF
MeasureStringWithTrailingWhitespace(String,Font,Single,Nullable<Single>) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > MeasureStringWithTrailingWhitespace メソッド : MeasureStringWithTrailingWhitespace(String,Font,Single,Nullable<Single>) メソッド
The string to measure.
The font to use.
The font size to use.
The width allocated to draw the string, or null to indicate unlimited width.
Measures a string using a specified font, font size and layout width, taking into account the trailing whitespace at the end of each line.
シンタックス
'宣言
 
Public Overloads Function MeasureStringWithTrailingWhitespace( _
   ByVal text As System.String, _
   ByVal font As Font, _
   ByVal fontSize As System.Single, _
   Optional ByVal width As System.Nullable(Of Single) _
) As System.Drawing.SizeF
public System.Drawing.SizeF MeasureStringWithTrailingWhitespace( 
   System.string text,
   Font font,
   System.float fontSize,
   System.Nullable<float> width
)

パラメータ

text
The string to measure.
font
The font to use.
fontSize
The font size to use.
width
The width allocated to draw the string, or null to indicate unlimited width.

戻り値の型

The size needed to draw the string with trailing whitespace.
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧